package com.education.platform.api.vo.request;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.math.BigDecimal;
/**
* describe: 支付记录
* @author : tomato
* @date: 2020-06-21 09:35:03.389
**/
@ApiModel()
@Getter
@Setter
@ToString
public class PayRecordUpdateVO {

    /**
     * 商品数量
     */
    @ApiModelProperty("数量")
    @NotNull(message = "数量必填")
	private Integer number;

    /**
     * 订单总价
     */
    @ApiModelProperty("订单总价:单位元，最多两位小数")
    @NotNull(message = "订单金额必填")
	private BigDecimal totalPrice;

    /**
     * 订单标题
     */
    @ApiModelProperty("订单标题")
	private String subject;


    /**
     * 支付平台类型  1=支付宝 2=微信
     */
    @ApiModelProperty(value = "支付平台类型",hidden = true)
	private Integer paymentPlatformType;
    @ApiModelProperty(value = "订单号",hidden = true)
    private String orderNo;

}
